package com.pojo.mapper;

import com.pojo.Entity.Site;
import com.pojo.dto.ToSite;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface SiteMapper {
    public Integer insert(Site site);
    public Site   findBysID(Integer sID);
    public Integer update(Site site);
    public Integer getsum();
    public Integer delete(Date newdate,Integer sID);
    public List<ToSite> findByPn(Integer page, Integer number);
}
